
	.btn-success {
		border: 1px solid rgba(0,0,0,.2);
		padding: 8px 20px;
		background-color: #FFDC73;
		background: -moz-linear-gradient(top,#FFE599 0%,#FFDC73);
		background: -webkit-gradient(linear, left top, left bottom,from(#FFE599),to(#FFDC73));
		box-shadow: 0 1px 1px rgba(255,255,255,.5);
	}

		.btn-success.btn-small[aria-disabled],
		.btn-primary[disabled],
		.btn-warning[disabled] {
			opacity: .7;
		}


	.btn-primary {
		color: #333;
		border: 1px solid rgba(0,0,0,.2);
		padding: 8px 20px;
		background-color: #62c462;
		background: -moz-linear-gradient(top,#62c462 0%,#51a351);
		background: -webkit-gradient(linear, left top, left bottom,from(#62c462),to(#51a351));
		box-shadow: 0 1px 1px rgba(255,255,255,.5);
	}

	.btn-warning {
		color: #333;
		border: 1px solid rgba(0,0,0,.2);
		padding: 8px 20px;
		background-color: #bd362f;
		background: -moz-linear-gradient(top,#ee5f5b 0%,#bd362f);
		background: -webkit-gradient(linear, left top, left bottom,from(#ee5f5b),to(#bd362f));
		box-shadow: 0 1px 1px rgba(255,255,255,.5);
	}

	.btn-small {
		padding: 5px 10px;
		font-size: 16px;
	}

	.btn input {
	 	top: -10px;
		right: -40px;
		z-index: 2;
		position: absolute;
		cursor: pointer;
		opacity: 0;
		filter: alpha(opacity=0);
		font-size: 50px;
		cursor: pointer;
	}

	.btn-txt {
		position: relative;
	}

	.btn .progress {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		opacity: .5;
		position: absolute;
	}
		.progress .bar {
			width: 0;
			top: 0;
			left: 0;
			bottom: 0;
			position: absolute;
			background-color: #f60;
		}


.progress-small {
	height: 5px;
	padding: 1px;
	box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	background-color: rgba(0,0,0,.5);
}
	.progress-small .bar {
		width: 0;
		height: 100%;
		position: static;
		border-radius: 10px;
		background-color: orange;
	}




.webcam,
.userpic {
	width: 200px;
	height: 200px;
	border: 2px solid #aaa;
	display: inline-block;
	position: relative;
	background: url('http://expomap.ru/images/users/no-userpic-big.gif') no-repeat;
	background-size: cover;
}
	.webcam .btn,
	.userpic .btn {
		margin-top: 150px;
	}

	.webcam__preview,
	.userpic__preview {
		position: absolute;
	}

.webcam {
	background-size: auto;
	background-image: url('https://cdn1.iconfinder.com/data/icons/windows-8-metro-style/128/integrated_webcam.png');
	background-position: center 10px;
}


.b-upload {
	white-space: nowrap;
}
	.b-upload__name,
	.b-upload__size {
		display: inline-block;
		position: relative;
		overflow: hidden;
		max-width: 150px;
		vertical-align: middle;
	}
		.b-upload__size {
			color: #666;
			font-size: 12px;
		}

	.b-upload .js-files:after {
		clear: both;
		content: '';
		display: block;
	}

	.b-upload__dnd {
		padding: 30px;
		border-radius: 5px;
		margin-bottom: 10px;
		background-color: rgba(0,0,0,.1);
	}
		.b-upload__dnd_hover {
			color: #fff;
			background-color: orange;
		}

	.b-upload__hint {
		padding: 5px 8px;
		font-size: 12px;
		white-space: normal;
		border-radius: 3px;
		background-color: rgba(0,0,0,.08);
	}





.b-thumb {
	float: left;
	margin: 3px;
	padding: 5px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 2px rgba(0,0,0,.4);
	background-color: #fff;
}
	.b-thumb__del {
		top: -6px;
		right: -1px;
		color: #FF0000;
		cursor: pointer;
		opacity: 0;
		z-index: 999;
		position: absolute;
		font-size: 20px;
		-webkit-transition: opacity .1s ease-in;
		-moz-transition: opacity .1s ease-in;
		transition: opacity .1s ease-in;
	}
		.b-thumb:hover .b-thumb__del {
			opacity: 1;
		}

	.b-thumb__rotate {
		top: 40%;
		left: 50%;
		width: 32px;
		height: 32px;
		cursor: pointer;
		margin: -16px 0 0 -16px;
		position: absolute;
		background: url('http://cdn1.iconfinder.com/data/icons/duesseldorf/32/refresh.png');
	}

	.b-thumb__preview {
		width: 80px;
		height: 80px;
		-webkit-transition: -webkit-transform .2s ease-in;
		-moz-transition: -moz-transform .2s ease-in;
		transition: transform .2s ease-in;
	}
		.b-thumb__preview__pic {
			width: 100%;
			height: 100%;
			background: url('http://www.rubaxa.org/screenshot/b27ae1b0bcdcd13a6728774ed505.png') 50% 50% no-repeat;
		}

	.b-thumb__name {
		width: 80px;
		overflow: hidden;
		font-size: 12px;
	}

	.b-thumb__progress {
		top: 75px;
		left: 10px;
		right: 10px;
		position: absolute;
	}


.themodal-overlay {
	position: fixed;
	bottom: 0;
	left: 0;
	top: 0;
	right: 0;
	z-index: 100000;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}



.btn {
	cursor: pointer;
	*zoom: 1;
	*display: inline;
	display: inline-block;
	position: relative;
	overflow: hidden;
	font-size: 20px;
	font-family: Arial;
	border-radius: 4px;
	vertical-align: middle;
}
	.btn_browse {
		border: 1px solid rgba(0,0,0,.2);
		padding: 8px 20px;
		background-color: #FFDC73;
		background: -moz-linear-gradient(top,#FFE599 0%,#FFDC73);
		background: -webkit-gradient(linear, left top, left bottom,from(#FFE599),to(#FFDC73));
		box-shadow: 0 1px 1px rgba(255,255,255,.5);
	}
		.btn_browse_small {
			padding: 5px 10px;
			font-size: 16px;
		}

		.btn_browse_small[aria-disabled] {
			opacity: .5;
		}

	.btn_choose {
		color: #fff;
		border: 2px solid rgba(255,255,255,.4);
		padding: 5px 10px;
		text-shadow: 0 1px 1px rgba(0,0,0,.3);
		background-color: rgba(0,0,0,.4);
		*background-color: #aaa;
	}

	.btn__inp {
		top: -10px;
		right: -10px;
		cursor: pointer;
		filter: alpha(opacity=0);
		opacity: 0;
		font-size: 50px;
		position: absolute;
	}

	.btn__progress {
		top: 0;
		left: 0;
		height: 100%;
		opacity: .5;
		position: absolute;
		background-color: #f60;
	}


.fileprogress {
	padding: 1px;
	height: 5px;
	box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	background-color: rgba(0,0,0,.5);
}
	.fileprogress__bar {
		width: 0;
		height: 100%;
		border-radius: 10px;
		background-color: orange;
	}




.userpic {
	width: 200px;
	height: 200px;
	border: 2px solid rgba(0,0,0,.3);
	display: inline-block;
	position: relative;
}
	.userpic .btn {
		margin-top: 150px;
	}

	.userpic__preview {
		position: absolute;
	}


.b-upload {
	white-space: nowrap;
}
	.b-upload__name,
	.b-upload__size {
		display: inline-block;
		position: relative;
		overflow: hidden;
		max-width: 150px;
		vertical-align: middle;
	}
		.b-upload__size {
			color: #666;
			font-size: 12px;
		}

	.b-upload .js-files:after {
		clear: both;
		content: '';
		display: block;
	}

	.b-upload__dnd {
		padding: 30px;
		border-radius: 5px;
		margin-bottom: 10px;
		background-color: rgba(0,0,0,.1);
	}
		.b-upload__dnd_hover {
			color: #fff;
			background-color: orange;
		}





.b-thumb {
	float: left;
	margin: 3px;
	padding: 5px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 2px rgba(0,0,0,.4);
	background-color: #fff;
}
	.b-thumb__rotate {
		top: 40%;
		left: 50%;
		width: 32px;
		height: 32px;
		cursor: pointer;
		margin: -16px 0 0 -16px;
		position: absolute;
		background: url('http://cdn1.iconfinder.com/data/icons/duesseldorf/32/refresh.png');
	}

	.b-thumb__preview {
		width: 80px;
		height: 80px;
		-moz-transition: -moz-transform .2s ease-in;
	}
		.b-thumb__preview__pic {
			width: 100%;
			height: 100%;
			xbackground: url('http://www.rubaxa.org/screenshot/b27ae1b0bcdcd13a6728774ed505.png') 50% 50% no-repeat;
		}

	.b-thumb__name {
		width: 80px;
		overflow: hidden;
		font-size: 12px;
	}

	.b-thumb__progress {
		top: 75px;
		left: 10px;
		right: 10px;
		position: absolute;
	}


.themodal-overlay {
	position: fixed;
	bottom: 0;
	left: 0;
	top: 0;
	right: 0;
	z-index: 100000;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.lock {
	overflow: hidden;
}

.popup {
	margin: 25px;
	float: left;
	display: inline-block;
	box-shadow: 0 0 5px #000;
	background-color: #fff;
}
	.popup__body {
		margin: 10px 10px 5px;
	}

